Mastering Linux Network Administration by Unknown

Mastering Linux Network Administration by Unknown

Author:Unknown
Language: eng
Format: mobi, epub
Publisher: Packt Publishing


Note

You can see a complete list of logrotate configuration options by perusing its man page:

man logrotate

While logrotate has some fairly decent default configuration for some of the services that ship with CentOS and Debian, you'll want to consider creating configuration for any new services that you set up. To do so, it's easiest to follow the format shown in example files that you'll already have stored in /etc/logrotate.d. It's as simple as beginning your configuration block with the path to a file you want logrotate to handle for you, followed by options within curly brackets. There's no service to restart or special command to make your new configuration active. The next time that logrotate runs, it will check the /etc/logrotate.d directory for new configurations and run them if there are no errors.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.